//
//  globalVariables.hpp
//  learnC++
//
//  Created by apple on 2018/5/23.
//  Copyright © 2018年 yunfan.com. All rights reserved.
//

#ifndef globalVariables_hpp
#define globalVariables_hpp

#include <stdio.h>
#include <iostream>

static int g_x(10);

//只是声明，可以多次声明，只能定义一次
extern int g_y;

constexpr int g_z(5);

static int addValue(int x, int y);

void test();

class globalVariables {
    
public:
    globalVariables();
    int generateID();
    ~globalVariables();
};



#endif /* globalVariables_hpp */
